package com.cskaoyan.service;

import com.cskaoyan.bean.baseresultVO.BaseData;
import com.cskaoyan.bean.baseresultVO.BaseParam;
import com.cskaoyan.bean.domain.Topic;
import com.cskaoyan.bean.topic.TopicBatchDeleteBO;
import com.cskaoyan.bean.topic.TopicReadVO;

import java.util.List;

public interface TopicService {
    BaseData topicList(String title, String subtitle, BaseParam baseParam);

    TopicReadVO read(Integer id);

    Topic topicUpdate(Topic topic);

    int topicDelete(Topic topic);

    int topicBatchDelete(TopicBatchDeleteBO batchDeleteBO);

    Topic topicCreate(Topic topic);

    List<Topic> topicsWithOutPage();
}
